package com.newtouch.bxzs.business.message.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.newtouch.bxzs.business.message.model.NotificationBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;


/**
 * APP通知消息列表BO
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/2/5 13:55</td>
 * <td>tianshangzhu</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tianshangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("APP通知消息列表BO")
public class AppNotificationListBO extends NotificationBO implements Serializable {

    private static final long serialVersionUID = 2594600200913548867L;

    @ApiModelProperty(value = "通知ID")
    private String notificationId;

    @ApiModelProperty(value = "通知名称")
    private String notificationName;

    @ApiModelProperty(value = "通知简介")
    private String notificationIntroduction;

    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date publishTime;

    @ApiModelProperty("是否已读")
    private Boolean isRead;

    @ApiModelProperty(value = "通知内容")
    private String notificationContent;

    @ApiModelProperty(value = "通知跳转id(跳转到对应页面后根据id展示信息)")
    private String noticeJumpId;

    @ApiModelProperty(value = "保单类型:1-个单,2-家庭单,3-企业单短险,4-企业单长险")
    private String policyType;

    @ApiModelProperty(value = "保单消息类型：1-投保,2-退保,3-续期,4-满期")
    private String policyNoticeType;

    @ApiModelProperty(value = "统一社会信用代码(银行端保单跳转时需要)")
    private String unifiedSocialCreditCode;

}
